<%@ page language="java" 	import="java.util.*,com.tjsinfo.tjsoa.common.DealString,org.json.JSONArray,org.json.JSONObject" pageEncoding="UTF-8"%>
<%@page import="com.tjsinfo.tjsoa.common.ToolKit"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ page import="com.tjsinfo.tjsoa.articles.vo.TIndexArticles"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String bPath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort();
//TIndexArticles iarticles=null;
String menu=(String)request.getAttribute("menu");
String cname = (String)request.getAttribute("cname"); 
String[] strUrl = (String[])request.getAttribute("linkUrl");

TIndexArticles value=(TIndexArticles)request.getAttribute("articles");

int cid = value.getCid();
//DealString ds = new DealString(); 
//int rightTitleSize=16;

//String strLoginname= (String)request.getAttribute("loginName");
String strLoginname = (String)request.getAttribute("loginname");
String userID = (String)request.getAttribute("userID");

String titlemain = value.getTitle().replace("\r\n","<br>");
String author = value.getAuthor();
String content = (String)request.getAttribute("content"); 
String createDate = value.getCreateDate();
String uploadfile = value.getUploadFile();
String type=String.valueOf(request.getParameter("type"));
int tablewidth=1082;
%>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>天津市粮油集团有限公司</title>
<meta name="keywords" content="粮油" />
<link href="<%=basePath%>articles/style/test.css" type="text/css" rel="stylesheet" />
<link href="<%=basePath%>articles/style/component.css" type="text/css" rel="stylesheet" />
<script src="<%=basePath%>articles/js/swfobject_modified.js" type="text/javascript"></script>

</head>

<body>
<div class="banner_news" style="width:<%=tablewidth %>px; margin:0 auto";>
  <div class="list_bigleft">
     <%if(type.equals("list")){ %>
  <a href="<%=basePath %>tjsinfo/tjsoa/articles/List.do?method=getList&cid=<%=cid %>" style="float:right;margin-right:2px;"><img src="<%=basePath %>articles/images/return1.gif" /></a>
  <%} %>
  <%if(type.equals("shouye")){%>
  <a href="<%=basePath%>tjsinfo/tjsoa/articles/shouyenews.do" style="float:right;margin-right:2px;"><img src="<%=basePath %>articles/images/return1.gif" /></a>
  <%}%>
  <% if(type.equals("") || type.equals("null")){ %>
  <a href="<%=basePath %>articles/manage/manageList.jsp?cid=<%=cid %>" style="float:right;margin-right:2px;"><img src="<%=basePath %>articles/images/return1.gif" /></a>
  <%} %>
    <div class="news_news_view" >
   <div class="news_title_view"><%=titlemain %></div>
     <div class="news_two_title_view"><%=createDate%></div>
       <!--    <div class="news_content_01_view"> -->
            <div style="width:<%=tablewidth %>px; margin:0 auto";>
				   		<div align=center style="line-height:28px;font-size=18px"><%=content %></div>
			</div>
    <!-- </div> -->
   
   </div>
</div> 
</div>
</body>

</html>
